<?php
if (!isset($url)) {
   exit;
}
include './c/config.php';
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqli->error);}
$query=$mysqli->query("SELECT * FROM `ti` where nianji=2 and step=1 ");
$i=1;
$hide='hide';
while ($list=$query->fetch_array()) {
?>
<div class="xze-bt xze-t<?php echo $i,' ',$hide ?>"><?php echo $list['title']; ?></div>
  <div class="dx-abcd dx-t<?php echo $i,' ',$hide?>">
  <div class="dx-li"><img class="dx-li-ico dx-li-a" src="<?php echo $url; ?>/img/a.png?v=1" /> <span><?php echo $list['da']; ?></span></div>
  <div class="dx-li"><img class="dx-li-ico dx-li-b" src="<?php echo $url; ?>/img/b.png" /> <span><?php echo $list['db']; ?></span></div>
  <div class="dx-li"><img class="dx-li-ico dx-li-c" src="<?php echo $url; ?>/img/c.png" /> <span><?php echo $list['dc']; ?></span></div>
  <div class="dx-li"><img class="dx-li-ico dx-li-d" src="<?php echo $url; ?>/img/d.png" /> <span><?php echo $list['dd']; ?></span></div>
  <div class="dx-dan">
   <img class="dx-a dx-a1" src="<?php echo $url; ?>/img/b-h.png" />
   <img class="dx-a dx-a2" src="<?php echo $url; ?>/img/b-a.png" />
   <img class="dx-b dx-b1" src="<?php echo $url; ?>/img/b-h.png" />
   <img class="dx-b dx-b2" src="<?php echo $url; ?>/img/b-b.png" />
   <img class="dx-c dx-c1" src="<?php echo $url; ?>/img/b-h.png" />
   <img class="dx-c dx-c2" src="<?php echo $url; ?>/img/b-c.png" />
   <img class="dx-d dx-d1" src="<?php echo $url; ?>/img/b-h.png" />
   <img class="dx-d dx-d2" src="<?php echo $url; ?>/img/b-d.png" />
  </div>
</div>
<?php 
$i++;
}
$mysqli->close();
 